﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace XF.Meeting.Entity.ADEntity
{
    public class OUEntity
    {
        public OUEntity()
        { }



        #region new
        private string _Guid = string.Empty;
        private string _DisplayName = string.Empty;
        private string _ParentGuid = string.Empty;
        private string _DName = string.Empty;
        private string _Parent_DName = string.Empty;
        private string _Description = string.Empty;
        //private int _Sort = 999;
        //private int _Levele = 0;
        private DateTime _WhenChanged = Convert.ToDateTime("1900-01-01");
        private DateTime _WhenCreated = Convert.ToDateTime("1900-01-01");
        /// <summary>
        /// ou Gudi唯一标示
        /// </summary>
        public string Guid
        {
            get { return _Guid; }
            set { _Guid = value; }
        }




        /// <summary>
        /// ou 显示名称
        /// </summary>
        public string DisplayName
        {
            get { return _DisplayName; }
            set { _DisplayName = value; }
        }

        /// <summary>
        /// ou 父节点唯一标示
        /// </summary>
        public string ParentGuid
        {
            get { return _ParentGuid; }
            set { _ParentGuid = value; }
        }

        /// <summary>
        /// ou Ldap路径
        /// </summary>
        public string DName
        {
            get { return _DName; }
            set { _DName = value; }
        }

        /// <summary>
        /// ou 父节点Ldap路径
        /// </summary>
        public string Parent_DName
        {
            get { return _Parent_DName; }
            set { _Parent_DName = value; }
        }
        //public int Sort
        //{
        //    get { return _Sort; }
        //    set { _Sort = value; }
        //}

        /// <summary>
        /// 描述
        /// </summary>
        public string Description
        {
            get { return _Description; }
            set { _Description = value; }
        }

        //public int Levele
        //{
        //    get { return _Levele; }
        //    set { _Levele = value; }
        //}

        public DateTime WhenChanged
        {
            get { return _WhenChanged; }
            set { _WhenChanged = value; }
        }

        public DateTime WhenCreated
        {
            get { return _WhenCreated; }
            set { _WhenCreated = value; }
        }

        #endregion
    }

}
